package com.example.lockfulldemo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.lockfulldemo.bo.TicketList;
import com.example.lockfulldemo.bo.TicketQuery;
import com.example.lockfulldemo.entity.TicketEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TicketMapper extends BaseMapper<TicketEntity> {
    IPage<TicketEntity> complexPageQuery(TicketQuery ticketQuery, Page<TicketEntity> ticketEntityPage);

    List<TicketEntity> getAll();

    List<TicketList> getTicketList();
}
